From 1939e22c22c142b38216d9e36dcdf79e96003532 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Florian=20M=C3=BCllner?= Date: Sun, 20 Aug 2017 17:53:41 +0200 Subject: [PATCH] workspace: Focus clone when highlighting We don't use different hover- and focus indications for window previews, so using keyboard navigation after hovering a clone often has surprising results when the previous focus window wasn't the selected one. Address this by simply moving the keyboard focus with the highlight. https://bugzilla.gnome.org/show_bug.cgi?id=786546 --- js/ui/workspace.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index a37764913..a64cf7dec 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -662,6 +662,7 @@ var WindowOverlay = new Lang.Class({ if (this._hidden) return; + this._windowClone.actor.grab_key_focus(); this._animateVisible(); this.emit('show-close-button'); }, -- 2.39.5